//
//  BONSTimerQueue.h
//  Bourse
//
//  Created by 俊松何 on 2018/1/25.
//  Copyright © 2018年 tianxie. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BOQueueModel : NSObject
@property(nonatomic,copy) NSString *uniqueId;
@property(nonatomic,assign) NSTimeInterval time;
@property(nonatomic,assign)NSTimeInterval  currentTime;
@property(nonatomic,assign)NSTimeInterval  oldTime;
@property(nonatomic,weak) NSObject *target;
@property(nonatomic,assign) SEL selector;

@end


@interface BONSTimerQueue : NSObject

+(instancetype)shareTimer;

-(void)startTimer;

-(void)addEvent:(SEL)selector target:(NSObject *)target timerWithTimeInterval:(NSTimeInterval)timer;

-(void)removeEcvent:(SEL)selector target:(NSObject *)target;




@end
